<div class="login-bg">
	<div class="login-panel" ng-controller="loginController">
		<div class="panel panel-default">
			<div class="panel-heading text-center"><span class="login-title">EKCG</span></div>
	  		<div class="panel-body">
	    		<form id="loginForm" class="form-horizontal">
					<div class="form-group">
				    	<label class="col-md-3 control-label" for="username">用户名：</label>
				    	<div class="col-md-9">
				    		<input type="text" class="form-control" name="username" ng-model="user.username" ng-keyup="enterEvent($event)" required>
				    	</div>
				  	</div>
				  	<div class="form-group">
				    	<label class="col-md-3 control-label" for="password">密码：</label>
				    	<div class="col-md-9">
				    		<input type="password" class="form-control" name="password" ng-model="user.password" ng-keyup="enterEvent($event)" required>
				    	</div>
				  	</div>
				  	<div class="form-group has-error">
				  		<div class="col-md-9 col-md-offset-3 help-block">{{user.errorMsg}}</div>
				  	</div>
				  	<div class="form-group text-center">
				  		<button type="button" class="btn btn-primary" ng-click="login()">登录</button>
				  		<button type="button" class="btn btn-default" ng-click="reset()">重置</button>
				  	</div>
				</form>
	  		</div>
		</div>
	</div>
</div>
<script src="pages/login.js"></script>